import Mock from 'mockjs'
import axios from 'axios'

import homeApi from './mockServerData/home'
import userApi from './mockServerData/user'
import permissionApi from './mockServerData/permission'
Mock.mock(axios.defaults.baseURL + '/home/getData', homeApi.getStatisticalData)
// Mock.mock('/api/user/getUser', userApi.getUserList)


// Mock.mock(axios.defaults.baseURL + '/user/getUser/', 'get', userApi.getUserList)
// // 权限相关
// Mock.mock(axios.defaults.baseURL + '/permission/getMenu/', 'post', permissionApi.getMenu)